Method and Apparatus for Transmitting Speech Data To a Remote Device In a Distributed Speech Recognition System

ABSTRACT

A method of transmitting speech data to a remote device in a distributed speech recognition system, includes the steps of: dividing an input speech signal into frames; calculating, for each frame, a voice activity value representative of the presence of speech activity in the frame; grouping the frames into multiframes, each multiframe including a predetermined number of frames; calculating, for each multiframe, a voice activity marker representative of the number of frames in the multiframe representing speech activity; and selectively transmitting, on the basis of the voice activity marker associated with each multiframe, the multiframes to the remote device.

FIELD OF THE INVENTION

The present invention relates in general to speech recognition systems distributed over a communications network, and in particular to a method and an apparatus for optimising the transmission of speech data to a remote device in a distributed speech recognition system.

The invention has been developed with particular attention paid to its possible use in wireless telecommunications networks, for providing efficient transmission of information between a mobile terminal and a server of a distributed speech recognition system.

DESCRIPTION OF THE RELATED ART

A distributed speech recognition (DSR) system comprises a front-end module, integrated in a mobile station, for performing processing of speech signal, and a back-end module, located on the server side, that carries out the recognition on the speech signal previously elaborated. In particular the front-end module extracts characteristic speech parameters (feature extraction) from an input speech signal previously subdivided in frames and digitally sampled, and transmits such parameters to the back-end which performs the last steps of recognition process. The speech is not sent over a voice channel, but only a coded parametric representation of the speech is sent over an error protected data channel. In this way, errors typical of voice channel, such as for example errors due to the double transcoding function, are avoided.

As used herein, “frame” is meant to designate, in general, a portion of the input speech signal having a duration, e.g. 10 or 20 ms, suitable for extracting spectral parameters describing the voice spectrum of the frame. The term “multiframe” refers to a plurality of consecutive frames, for example a predefined number N of frames corresponding to the smallest transmission unit transferred from the front-end to the back-end, e.g. 24 frames.

After feature extraction, parameters related to whole input speech are formatted in a bitstream and transmitted over the communication channel. The bitstream contains both useful information (voice activity region) and background noise (also including other voices).

A distributed speech recognition system is illustrated in the ETSI Standard known as “Aurora”, ETSI ES 202.212, v. 1.1.1, 11-2.003, “Speech processing, transmission and quality aspects (STQ); Distributed speech recognition; Extended advanced front-end feature extraction algorithm; Compression algorithms”, available on the Internet at the address “http://www.etsi.org”. The front-end module defined in such standard provides that a voice activity detection (VAD) flag representative of the presence of speech in a speech frame is calculated by means of a procedure, called “VADNest”, for each frame of the speech signal. The output of this procedure is a flag whose value is set to one if voice activity is detected and zero otherwise. In the same document a second procedure of the front-end module is disclosed, capable of calculating, frame by frame, the energy of the speech signal, and generating, for each frame, a Frame Energy parameter representative of the associated energy.

The Applicant has observed that voice activity evaluation performed in the Aurora front-end by means of the VAD flag, as well as the Frame Energy parameter, reveals a high variability of the input speech signal, because such parameters are computed for every frame (i.e. every 10 or 20 ms).

A method for distinguishing voice activity regions from silence or noise regions in an input voice signal is illustrated in document EP 1 265 224, which discloses a voice activity detection system that extracts the energy of a signal, computes an estimation of noise and decides a threshold that is used in voice activity decision.

Document WO 02/103679 illustrates a method and an apparatus for transmitting voice activity in a distributed speech recognition system. A local voice recognition engine on a terminal comprises a feature extraction module that extracts features from a speech signal, and a voice activity detection VAD module that detects voice activity within the speech signal. The combined results from the VAD module and feature extraction module are provided to a remote server in the form of advanced front end features, thereby enabling the server to process speech segments free of silence regions.

The Applicant has tackled the problem of computing reliable and efficient activity information at low computational cost, using parameters available in a standard front-end module. In particular, the Applicant has observed that the bitstream obtained combining voice activity detection information computed according to the above mentioned prior art methods with speech data would result too fragmented and it would be unlikely recognized correctly by a back-end recognition server.

OBJECT AND SUMMARY OF THE INVENTION

In this perspective, in order to decrease the size of the transmitted data as well as to maintain high recognition performance, there is a need for a method of elaborating the VADNest flags by means of a windowing function, thus providing an efficient separation between voiced and unvoiced segments of the input signal.

The Applicant has found that this problem can be solved by grouping the frames of the input speech signal into multiframes, each multiframe comprising, in case of 10 ms frames, a number of frames preferably between 10 and 40, e.g. 24 frames, marking each multiframe with a voice activity marker, computed taking into account a voice activity parameter (e.g. VAD parameter) of each frame, and selecting the transmission of the sole multiframes having the voice activity marker set.

As regards the length of the multiframe, it is preferable to set such length so as to comprise a portion of the speech signal having a duration greater then the duration of a single frame, e.g. at least ten times such duration, in order to avoid uncontrolled variability of the speech signal, and not longer then a few tens of the duration of a frame in order to maintain sufficient variability information.

A particular object of the present invention is to provide a method of transmitting speech data to a remote device, comprising:

-   -   dividing an input speech signal into frames;     -   calculating, for each frame, a voice activity value         representative of the presence of speech activity in said frame;     -   grouping said frames into multiframes, each multiframe         comprising a predetermined number of frames;     -   calculating, for each multiframe, a voice activity marker         representative of the number of frames in said multiframe         representing speech activity; and     -   selectively transmitting, on the basis of said voice activity         marker associated to each multiframe, said multiframes to said         remote device.

According to the present invention, that object is achieved by means of a method having the features set forth in the claims that follow. The invention also relates to a corresponding system as well as a related computer program product, loadable in the memory of at least one computer and including software code portions for performing the steps of the method of the invention when the product is run on a computer. As used herein, reference to such a computer program product is intended to be equivalent to reference to a computer-readable medium containing instructions for controlling a computer system to coordinate the performance of the method of the invention. Reference to “at least one computer” is evidently intended to highlight the possibility for the present invention to be implemented in a distributed/modular fashion.

The claims are an integral part of the disclosure of the invention provided herein.

Further features and advantages of the present invention will be made clearer by the following detailed description of some examples thereof, provided purely by way of example and without restrictive intent. The detailed description will refer to the following figures, in which:

FIG. 1 shows a block diagram of a distributed speech recognition system realised according to the present invention;

FIG. 2 shows a flow diagram of a preliminary analysis performed on an input speech signal, according to the present invention;

FIGS. 3 and 4 shows examples of multiframes each comprising 24 VADNest flags;

FIG. 5 shows two adjacent multiframes of VADNest flags;

FIG. 6 shows a flow diagram of a method of processing of speech parameters, according to the present invention; and

FIG. 7 shows a windowing of a voice activity detection on a speech signal, obtained according to the present invention.

With reference to FIG. 1, a distributed speech recognition system comprises a front-end module 2, generally embedded into a mobile terminal, and a back-end module 4 located in a remote server. The mobile terminal is connected to the remote server through a communications network, schematically represented by the arrow 6 in FIG. 1, such as for example a cellular network.

Front-end module 2 processes an input speech signal 8, e.g. a voice signal received from the microphone of a mobile phone, in order to provide a parametric representation of the voice signal, while the back-end module 4 carries out the recognition on the speech signal previously elaborated by the front-end. The front-end comprises a feature extraction block 10, a bitstream formatting block 16, a marker 18 and a decision block 20, whose operation will be described in detail hereinafter.

The input signal 8 enters the feature extraction block 10 wherein it is divided into frames (e.g. 10 ms frames) and filtered by a noise reduction block 12. In order to perform the noise segregation, this block evaluates, frame by frame, the voice activity using a VAD (Voice Activity Detection) algorithm, such as the so-called VADNest algorithm defined by the above mentioned “Aurora” standard, ETSI ES 202.212. The output of this block is a VAD flag, also called VADNest flag, whose value is set to “1” if voice activity is detected and “0” otherwise. The voice activity evaluation made by block 10 reveals a high variability in the input speech signal, because the VAD flag is computed every frame of 10 ms.

The noise reduction process 12 is followed by a feature analysis block 14, wherein a set of spectral parameters characteristic of the voice spectrum of each frame are extracted. The bitstream formatting block 16 arranges the compressed feature vectors with respect to the specific frame structure used, for example generating sequences of 24 frames, each sequence of frames being called multiframe. The multiframe is therefore the smallest transmission unit transferred from the front-end to the back-end, and comprises generally a predefined number N of frames (e.g 24 frames).

Besides computation of the VADNest flag, the feature extraction block 10 performs an estimation of the signal energy, computed frame-by-frame (every 10 ms), and generates a so-called Frame Energy signal, referred to as FE in FIG. 1. Generation of the frame energy signal is made according to the Frame Energy algorithm defined by the above mentioned “Aurora” standard, ETSI ES 202.212.

According to the invention, a marker block 18 receives the information relative to the VADNest flag and the Frame Energy signal, relative to each frame, and performs a processing, described in detail hereinafter, in order to generate a marker MK which selects, through a decision block 20, the portions of the input speech signal that do not contain speech information, avoiding transmission of the corresponding multiframes, thus reducing the bitstream sent to the back-end module through the communications network 6.

The decision block 20 therefore eliminates the bitstream regions which correspond to the rejected multiframes, allowing an optimisation of radio resources by means of. a reduction of the transmitted traffic. The multiframe counter is updated accordingly, in order to provide the back-end with a coherent bitstream.

The marker block 18 is capable of performing two different processing operations, corresponding to the two parameters generated by the front-end, VADNest flag and Frame Energy. The two processing operations are alternative to each other, and correspond to different conditions of the input speech signal. The system switches between the two operations according to a preliminary analysis of the background noise, schematically shown in the flow diagram of FIG. 2.

A simplified version of the system is however feasible, wherein only the VADNest flag parameter is processed and the preliminary analysis performed on the background noise is avoided.

As shown in FIG. 2, a background noise average energy is computed taking into account the Frame Energy signal FE, in block 30, according to the following procedure. Starting from the assumption that the voice activity is not present in the first frames but only background noise, an average of the Frame Energy parameters corresponding to these frames is computed. The average is performed over a range of several frames, on a corresponding window comprising for example two consecutive multiframes, i.e. 48 frames (corresponding to a duration of 480 ms).

In a decision block 32 the background noise average energy is compared with a predetermined background noise energy threshold. If the background noise average energy is below the threshold, corresponding to normal noise conditions, a VADNest processing 34 is performed for the current multiframe. If the background noise average energy is over the threshold, corresponding to strong noise conditions, an alternative energy processing 38, described in detail hereinafter, is performed for the current multiframe.

The VADNest processing 34 will be described in detail hereinafter, with particular reference to FIGS. 3, 4, 5 and 6.

The speech signal is analysed in blocks of 24 frames (240 ms), i.e. in blocks of 24 VADNest flags, each block corresponding to a so-called multiframe. FIGS. 3 and 4 show examples of multiframes made of 24 VADNest flags. As a general rule, a multiframe is considered as useful speech if the occurrences of flags set to one are greater than an appropriate threshold. With a threshold set to 18, the multiframe 50 in FIG. 3 will be considered as speech, while the second multiframe 52 will be marked as noise.

Particular cases of multiframes, such as the ones shown in FIG. 4, are also considered by the VADNest processing 34. In both cases of multiframes 54 and 56, with a VADNest threshold set to 18, the occurrences of flags set to one would be less than this threshold and, therefore, the multiframe would be considered without speech information. Such deduction could be however wrong if the flags set to “1” represent respectively the beginning (head) and the ending (tail) of a speech section.

For example, in FIG. 5 the multiframe H on the left, followed by a speech multiframe S on the right, even though having only 11 flags set to “1” is considered as a valid multiframe (to be transmitted) by the VADNest processing 34.

The VADNest processing 34 is shown in detail in the flow diagram of FIG. 6, illustrating the algorithm processing the speech signal a multiframe at a time. The multiframe processed is the nth one.

The following parameters are used in the flow diagram of FIG. 6:

N₁=threshold of occurrences of VADNest flags set to one in the multiframe.

N_(M)=occurrences of VADNest flags set to one in the multiframe.

N₂=threshold of occurrences of VADNest flags set to one on the left of the multiframe.

N_(T)=occurrences of VADNest flags set to one on the left of the multiframe (Tail multiframe); where the “left” of the multiframe is intended as a first set of frames in the multiframe (e.g. the first 8 frames in a multiframe made of 24 frames).

N₃=threshold of occurrences of VADNest flags set to one on the right of the multiframe.

N_(H)=occurrences of VADNest flags set to one on the right of the multiframe (Head multiframe); where the “right” of the multiframe is intended as a last set of frames in the multiframe (e.g. the last 8 frames in a multiframe made of 24 frames).

The process shown in FIG. 6 starts in a first decision block 60, wherein the number N_(M)(n) of VADNest flags set to one in the current multiframe n is compared with a first predetermined threshold N₁ of occurrences of flags set to one in a multiframe. If it is greater then the threshold N₁ the multiframe n is sent (marked “SENT”), otherwise the process proceeds in block 62.

In decision block 62 the number N_(T) (n) of VADNest flags on the left (tail) of the multiframe n is compared with a second predetermined threshold N₂. If it is greater then the threshold N₂ the process proceeds in block 66, otherwise in block 64.

In decision block 66 it is considered the number N_(M)(n−1) of VADNest flags set to one in the preceding multiframe n−1, that is compared with the first predetermined threshold N₁, i.e. a check is made whether the preceding multiframe was a speech multiframe. If the current multiframe n is subsequent to a speech multiframe n−1, it is considered a “Tail” multiframe, and is sent (marked “SENT”), otherwise it is not sent (marked “NOT SENT”).

In decision block 64 the number N_(H)(n) of VADNest flags on the right of the multiframe n is compared with a third predetermined threshold N₃. If it is lower then the threshold N₃ the multiframe n is not sent (marked “NOT SENT”), otherwise the process proceeds in block 68.

In decision block 68 it is considered the number N_(M)(n+1) of VADNest flags set to one in the subsequent multiframe n+1, that is compared with the first predetermined threshold N₁, i.e. a check is made whether the subsequent multiframe is a speech multiframe. If the current multiframe n is adjacent to a following speech multiframe n+1, it is considered a “Head” multiframe, and it is sent (marked “SENT”), otherwise it is not sent (marked “NOT SENT”).

The VADNest processing 34 previously described is used, as said above, in normal noise conditions, on the contrary, if the background noise energy is over the threshold set in block 32, an alternative energy processing 38 is performed. This alternative processing is preferable in strong noise conditions because of possible saturation of the VADNest flags (all flags set to one).

The energy processing 38 operates according to the same algorithm shown in FIG. 6 and previously described, provided that, for each frame, an energy flag is computed by comparing the frame energy FE with an energy threshold. The result is a frame flag set to “1” if the frame energy is greater than that threshold, “0” otherwise. The algorithm of FIG. 6 is then applied to multiframes of frame energy flags in the same way as previously described with reference to the VADNest flags, in order to obtain a coherent speech windowing based on the energy. The result is an alternative voice activity estimation for the multiframes.

The energy threshold is computed by applying a multiplicative coefficient to the background noise average energy estimation made on the initial multiframes of the speech signal. Experimentally, it has been noticed that a DSR system performs a good recognition if the averaged speech energy is at least five times greater than the background noise average energy. In other words the Frame Energy parameter is compared with the quintuple of the background noise average energy.

The Applicant has observed that, considering a multiframe of 24 frames, good performances can be obtained by setting the parameters involved in the algorithm shown in FIG. 6 as follows:

N₁=18

N₂=6

N_(T)=2

N₃=5

N_(H)=7

The multiframe 56 in FIG. 4, for example, having eleven flags set to “1”, of which eight in the Head portion and one in the Tail portion, will would not be considered as speech except when the following multiframe has a number of flags set to one greater than 18. In that case, in fact, this multiframe represents the beginning of a speech section.

The thresholds N₁, N₂, N₃, N_(H) and N_(T) are, in general, optimised by simulation in a preliminary tuning phase of the system. The values used in the afore mentioned example are related to a possible implementation.

The processing made on multiframes produces therefore four types of multiframe according to the voice activity/energy information.

Multiframe type “0”: This multiframe does not contain speech information and it won't be transmitted because the number of flags set to one is lower than the threshold N₁.

Multiframe type “1”: This multiframe is related to a speech section because the number of flags set to one is greater than the threshold N₁ and, therefore, it will be transmitted.

Multiframe type “2”: This kind of multiframe has a number of tail flags (N₃) greater than a specific tail threshold (N_(T)). This could be the ending of a speech section whether the previous multiframe is a multiframe type “1”. Only in this case the current multiframe will be transmitted.

Multiframe type “3”: This kind of multiframe has a number of head flags (N₂) greater than a specific head threshold (N_(H)). This could be the beginning of a speech section whether the following multiframe is a multiframe type “1”. In this case this multiframe will be transmitted.

The markers “SENT”/“NOT SENT” associated to each multiframe by the VADNest processing 34 or by the energy processing 38 are passed to the decision block 20, through the signal line MK, which selects the portions of the input speech signal that do not contain speech information.

FIG. 7 shows an example of the results of the VADNest processing on a portion of a speech signal S, the X axis representing the time and the Y axis representing the amplitude A of the signal. Four windows W₁, W₂, W₃, W₄, shown in FIG. 7 as rectangles surrounding portions of the speech signal, have been detected by the system, corresponding to portions of bitstream that are sent to the back-end. An efficient separation between voiced and unvoiced segments of the input signal is therefore obtained, allowing a considerable traffic reduction and, in particular noise conditions, also increasing the recognition scores. In fact, the eliminated sections, generally not related to the main speaker, could, in some cases, seriously compromise the recognition. 

1-18. (canceled)
 19. A method of transmitting speech data to a remote device in a distributed speech recognition system, comprising: dividing an input speech signal into frames; calculating, for each frame, a voice activity value representative of the presence of speech activity in said frame; and grouping said frames into multiframes, each multiframe comprising a predetermined number of frames; comprising the steps of: calculating, for each multiframe, a voice activity marker representative of the number of frames in said multiframe having a voice activity value representing speech activity, said voice activity marker being indicative of speech activity in said multiframe; and selectively transmitting, on the basis of said voice activity marker associated with each multiframe, said multiframes to said remote device.
 20. The method of claim 19, wherein said step of calculating said voice activity marker comprises: comparing the number of frames representing speech activity in a current multiframe with a first threshold; if the number of frames representing speech activity in the current multiframe is greater than or equal to said first threshold, associating a first value with said marker, indicative of speech activity.
 21. The method of claim 20, comprising, in case the number of frames representing speech activity in the current multiframe is lower than said first threshold, the steps of: comparing the number of frames representing speech activity in a tail portion of the current multiframe with a second threshold; and if the number of frames representing speech activity in said tail portion is greater than said second threshold, performing the steps of: associating a first value with the marker of said current multiframe, indicative of speech activity, if a multiframe immediately preceding the current multiframe had associated therewith a marker of the first value; and associating a second value with the marker of said current multiframe, indicative of no speech activity, if said multiframe immediately preceding the current multiframe had associated therewith a marker of the second value.
 22. The method of claim 21, comprising, in case the number of frames representing speech activity in said tail portion is lower than or equal to said second threshold, the steps of: comparing the number of frames representing speech activity in a head portion of the current multiframe with a third threshold; and if the number of frames representing speech activity in said head portion is lower than said third threshold, associating a second value with the marker of said current multiframe, indicative of no speech activity.
 23. The method of claim 22, comprising, in case the number of frames representing speech activity in said head portion is greater than or equal to said third threshold, the steps of: associating a first value with the marker of said current multiframe, indicative of speech activity, if a multiframe immediately subsequent to the current multiframe has associated therewith a marker of the first value; and associating a second value with the marker of said current multiframe, indicative of no speech activity, if said multiframe immediately subsequent to the current multiframe has associated therewith a marker of the second value.
 24. The method of claim 23, wherein each multiframe comprises 24 frames, of which 8 initial frames represent said tail portion and 8 last frames represent said head portion.
 25. The method of claim 19, wherein said voice activity value is a voice activity detection flag computed on every speech frame of said input speech signal.
 26. The method of claim 19, comprising a step of: calculating a background noise average energy on a plurality of initial multiframes of said input speech signal; comparing said background noise average energy with a background noise energy threshold; and if said background noise average energy is below said background noise energy threshold, setting, as said voice activity value, a voice activity detection flag computed on every speech frame of said input speech signal.
 27. The method of claim 26, comprising, in case said background noise average energy is over said background noise energy threshold, the steps of: calculating, for each frame, a frame energy representative of the energy of the corresponding portion of the input speech signal; comparing said frame energy with an energy threshold, setting a frame energy flag to the value “1” if said frame energy is over said energy threshold and to the value “0” otherwise; and setting, as said voice activity value, said frame energy flag.
 28. The method of claim 27, wherein said energy threshold is computed by applying a multiplicative coefficient to said background noise average energy.
 29. A user terminal comprising a front-end module of a speech recognition system distributed over a communications network, said front end module comprising: a feature extraction block for dividing an input speech signal into frames, and for calculating, for each frame, a voice activity value representative of the presence of speech activity in said frame; a bitstream formatting block for grouping said frames into multiframes, each multiframe comprising a predetermined number of frames; said front-end module further comprising: a marker block for calculating, for each multiframe, a voice activity marker representative of the number of frames in said multiframe having a voice activity value representing speech activity, said voice activity marker being indicative of speech activity in said multiframe; and a decision block for selectively transmitting, on the basis of said voice activity marker associated with each multiframe, said multiframes over said communications network to a remote back-end module of said distributed speech recognition system.
 30. The user terminal of claim 29, wherein said decision block eliminates bitstream regions corresponding to the multiframes having associated therewith a marker indicating no speech activity.
 31. The user terminal of claim 30, wherein said decision block renumbers the transmitted multiframes in order to provide the remote back-end module with a coherent bitstream.
 32. The user terminal of claim 30, wherein said marker block comprises a module for calculating a background noise average energy on a plurality of initial multiframes of said input speech signal, and for comparing said background noise average energy with a background noise energy threshold.
 33. The user terminal of claim 32, wherein, in case said background noise average energy is below said background noise energy threshold, said voice activity value is a voice activity detection flag computed by said feature extraction block on every speech frame of said input speech signal.
 34. The user terminal of claim 32, wherein, in case said background noise average energy is over said background noise energy threshold, said voice activity value is a frame energy flag obtained, for each frame, by comparing a frame energy, computed by said feature extraction block and representative of the energy of a corresponding portion of the input speech signal, with an energy threshold, and setting said frame energy flag to the value “1” if said frame energy is over said energy threshold and to the value “0” otherwise.
 35. A distributed speech recognition-system comprising a front-end module for performing processing of a speech signal and a back-end module for carrying out recognition on said processed speech signal, said front-end module being capable of operating according to the method of claim
 19. 36. A computer program product, loadable in the memory of at least one computer and comprising software code portions capable of performing the method of claim
 19. 